package net.sourceforge.orm.dialect;

/**
 * 
 * 
 * @author maoanapex88@163.com
 **/
public abstract class Dialect {

	/**
	 * paging sql
	 * 
	 * @param sql
	 * @param offset
	 * @param limit
	 * @return
	 */
	public abstract String getLimitString(String sql, int offset, int limit);

	/**
	 * total page
	 * 
	 * @param sql
	 * @return
	 */
	public abstract String getCountString(String sql);

}
